using SqlSugar;

namespace ZhiKeDuoServer.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class InGoods
    {
        private System.Int32 _Id;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsIdentity = true)]
        public System.Int32 Id { get { return this._Id; } set { this._Id = value; } }

        private System.String _PCode;
        /// <summary>
        /// 
        /// </summary>
        public System.String PCode { get { return this._PCode; } set { this._PCode = value?.Trim(); } }

        private System.String _GoodsCode;
        /// <summary>
        /// 
        /// </summary>
        public System.String GoodsCode { get { return this._GoodsCode; } set { this._GoodsCode = value?.Trim(); } }

        private System.Double? _Price;
        /// <summary>
        /// 
        /// </summary>
        public System.Double? Price { get { return this._Price; } set { this._Price = value ?? default(System.Double); } }

        private System.Int32? _Counts;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Counts { get { return this._Counts; } set { this._Counts = value ?? default(System.Int32); } }

        private System.DateTime? _IDate;
        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? IDate { get { return this._IDate; } set { this._IDate = value ?? default(System.DateTime); } }

        private System.Int32? _Supplier;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Supplier { get { return this._Supplier; } set { this._Supplier = value ?? default(System.Int32); } }

        private System.String _Oper;
        /// <summary>
        /// 
        /// </summary>
        public System.String Oper { get { return this._Oper; } set { this._Oper = value?.Trim(); } }

        private System.String _Remark;
        /// <summary>
        /// 
        /// </summary>
        public System.String Remark { get { return this._Remark; } set { this._Remark = value?.Trim(); } }

        private System.Int32? _IO;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? IO { get { return this._IO; } set { this._IO = value ?? default(System.Int32); } }

        private System.Int32? _From;
        /// <summary>
        /// 
        /// </summary>
        public System.Int32? From { get { return this._From; } set { this._From = value ?? default(System.Int32); } }
        public int Shop { get; set; }
        public int syc { get; set; }
    }
}